package com.jaiky.imagepicker;

import com.jaiky.imagespickers.ResourceTable;
import com.jaiky.imagespickers.utils.ResUtil;

import ohos.aafwk.ability.delegation.AbilityDelegatorRegistry;

import ohos.app.Context;

import org.junit.Assert;
import org.junit.Test;


/**
 * ExampleOhosTest
 */
public class ExampleOhosTest {
    Context context = AbilityDelegatorRegistry.getAbilityDelegator().getAppContext();
    /**
     * testUtilsgetString
     */
    @Test
    public void testUtilsgetString() {
        String isEmpty = ResUtil.getString(context ,  ResourceTable.String_ip_folder_image_count, 5);
        Assert.assertEquals("5张", isEmpty);
    }
}